package com.bgrc.hubu12305.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bgrc.hubu12305.entity.OrderEntity;
import com.bgrc.hubu12305.entity.UserEntity;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * 包名:com.bgrc.hubu12305.service
 * 用户:86182
 * 时间:20211214:242021/12/17
 */
public interface OrderService extends IService<OrderEntity> {

    boolean isCheck(UserEntity userEntity,
                    String carriages,
                    String seatNo,
                    String startStation,
                    String endStation,
                    String trainNumber,
                    Integer price);

    List<OrderEntity> queryPage(Integer currentPage,String userName);
}
